package org.csu.dormmonitor.common;

import lombok.Getter;

/**
 * @author huangzhangyan
 */
@Getter
public enum OrderStatusCode {

    CLOSED(0, "已关闭"),
    WAIT_PAYMENT(1, "待付款"),
    WAIT_DELIVERED(2, "待发货"),
    DELIVERED(3, "已发货"),
    RECEIVED(4, "已收货"),
    REFUNDING(5, "退款中"),
    REFUNDED(6, "已退款");

    private final int code;

    private final String description;

    OrderStatusCode(int code, String description) {
        this.code = code;
        this.description = description;
    }
}
